package com.somnus.demo.androiddatabingdemo.bean;

import android.databinding.ObservableBoolean;
import android.databinding.ObservableField;
import android.databinding.ObservableInt;

/**
 * Created by Somnus on 2017/5/12.
 *
 * @Description:Data Binding的开发者贴心得为我们准备了一系列的ObservableField，包括：
 * ObservableBoolean, ObservableByte, ObservableChar, ObservableShort, ObservableInt, ObservableLong, ObservableFloat,ObservableDouble,
 */

public class ObservableFieldUserBean {
    public final ObservableField<String> userName = new ObservableField<>();
    public final ObservableField<String> userIcon = new ObservableField<>();
    public final ObservableInt userAge = new ObservableInt();
    public final ObservableBoolean isStudent = new ObservableBoolean();
}
